#include <QApplication>

#include "quizwidget.h"
#include "quiziconwidget.h"

int main (int argc, char *argv[]) {
	QApplication app(argc, argv);
	QuizWidget *quiz = new QuizWidget();

	// configure QuizWidget
	Phrase *p1 = new Phrase("Hello! I'm option one.", "black_ninja.ico");
	Phrase *p2 = new Phrase("I am also an option.", "green_ninja.ico");
	Phrase *p3 = new Phrase("Xtreme altR native opsh N", "red_ninja.ico");
	Phrase *p4 = new Phrase("Last option!", "white_ninja.ico");

	QList<Phrase*> phrases;
	phrases << p1 << p2 << p3 << p4; // nice
	quiz->setQuestion(phrases);

	quiz->show();

	QuizIconWidget *iconQuiz = new QuizIconWidget();
	iconQuiz->setQuestion(phrases);
	iconQuiz->show();

	return app.exec();
} 
